#pragma once

#include "RdcBuffer.h"

namespace rdc_transport
{
    struct IReadHandler;

    class ReadStrategy
    {
    public:
        void OnData(LPVOID pData, UINT32 dataLength, UINT32 totalLength, UINT32 dataFlags);
        void SetReadHandler(IReadHandler* readHandler);
    
    private:
        Buffer m_pReadBuffer;
        IReadHandler* m_readHandler;
    };
}
